package fons.navigator.views.island;

import fons.navigator.util.piccolo.PBoxLayoutNode;

public abstract class MapModel {
	private final VisualIsland island;
	
	public MapModel (VisualIsland island) {
		this.island = island;
	}
	
	public VisualIsland getVisualIsland() {
		return island;
	}
	
	public abstract void step (double time);	
	public abstract ColorField getColorField();
	public abstract void updateColorField();
	
	public void createButtons() { }
	
	public PBoxLayoutNode getButtonsPanel() {
		return island.getView().getVisualCanvas().getModeButtonsPanel();
	}
}
